/**
 * jims
 */
package com.jims.master.modules.blood.dao;

import com.jims.master.common.persistence.CrudDao;
import com.jims.master.common.persistence.annotation.MyBatisDao;
import com.jims.master.common.web.impl.BaseDto;
import com.jims.master.modules.blood.entity.BloodOutSheet;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 发血单DAO接口
 * @author CTQ
 * @version 2017-04-13
 */
@MyBatisDao
public interface BloodOutSheetDao extends CrudDao<BloodOutSheet> {
    /**
     * 根据参数查询需要发血数据
     * @param bloodOutSheet
     * @return
     */
    public BaseDto findWaitOutSheet(BloodOutSheet bloodOutSheet);

    /**
     * 获取所有发血单号
     * @return
     * @author fengyg
     */
    public List<BloodOutSheet> getBloodOutNumList(@Param("orgId")String orgId);

    /**
     * 获取所有血袋号(发血单里)
     * @return
     * @author fengyg
     */
    public List<BloodOutSheet> getBloodIdList(@Param("orgId")String orgId);

    /**
     * 发血单查询
     * @param bloodOutSheet
     * @return
     * @author fengyg
     */
    public List<BloodOutSheet> getBloodOutSheetList(BloodOutSheet bloodOutSheet);
}